package com.ludaxin.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="s_user")
public class User extends BaseModel
{
    @Id
    @Column(name = "id", nullable = false)
    private String id;
    @Column(name= "name", nullable = false)
    private String name;
    @Column(name = "password", nullable = false)
    private String password;
    public String getId()
    {
        return id;
    }
    public void setId(String id)
    {
        this.id = id;
    }
    public String getName()
    {
        return name;
    }
    public void setName(String name)
    {
        this.name = name;
    }
    public String getPassword()
    {
        return password;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }
    
}
